<template>
    <div class="ct">
        <div class="back"><div class="iconfont icon-fanhui"></div></div>
        <div class="search"><span class="iconfont icon-sousuo"> </span>输入景点</div>
        <router-link to="/city">
            <div class="city">{{this.$store.state.city}}<span class="iconfont icon-jiantou"></span></div>
        </router-link>
    </div>
</template>

<script>
    export default {
        props: {
            // city: String
        }
    }
</script>

<style scoped lang="stylus">
    @import '~@styles/variables.styl'
    .ct
        line-height: $lineHeight
        background-color: $bgColor_head
        display: flex
        text-align: center
        color: white
        .back
            width: .80rem
            text-align:left
            padding-left:.2rem
            line-height: $lineHeightrem
        .search
            color: #cacaca
            flex:1
            height: .62rem
            line-height: .62rem
            margin-top: .12rem
            padding-left:.1rem
            border-radius: .1rem
            background-color: white
            text-align: left
        .city
            line-height: $lineHeight
            width: 1.80rem
            color: #ffffff
            .icon-jiantou
                font-size: .24rem
</style>